package com.migo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.migo.dao.UserDeviceRegisterDao;
import com.migo.entity.UserDeviceRegisterEntity;
import com.migo.service.UserDeviceRegisterService;



@Service("userDeviceRegisterService")
public class UserDeviceRegisterServiceImpl implements UserDeviceRegisterService {
	@Autowired
	private UserDeviceRegisterDao userDeviceRegisterDao;
	
	@Override
	public UserDeviceRegisterEntity queryObject(Integer id){
		return userDeviceRegisterDao.queryObject(id);
	}
	
	@Override
	public List<UserDeviceRegisterEntity> queryList(Map<String, Object> map){
		return userDeviceRegisterDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userDeviceRegisterDao.queryTotal(map);
	}
	
	@Override
	public void save(UserDeviceRegisterEntity userDeviceRegister){
		userDeviceRegisterDao.save(userDeviceRegister);
	}
	
	@Override
	public void update(UserDeviceRegisterEntity userDeviceRegister){
		userDeviceRegisterDao.update(userDeviceRegister);
	}
	
	@Override
	public void delete(Integer id){
		userDeviceRegisterDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		userDeviceRegisterDao.deleteBatch(ids);
	}
	
}
